<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../day13/style.css">
    <style>
        .nav{
            width:1000px; height:35px;
            margin:50px auto;
        }
        .nav li{
            float:left;
            border: solid 1px red;
            line-height: 35px;
            width:120px;
            text-align: center;
        }
        .nav .menu{
           height:0;
           overflow: hidden;
           transition: all 2s linear;
        }
        .nav li:hover .menu{
            height:100px;
        }
        .nav li p{
            border: solid 1px red;
            background: pink;
        }
    </style>
</head>
<body>
    <ul class="nav">
        <li><a href="#">美女</a>
            <div class="menu">
                <p>小乔</p>
                <p>大乔</p>
                <p>貂蝉</p>
            </div>
        </li>
        <li><a href="#">帅哥</a>
            <div class="menu">
                <p>吕布</p>
                <p>赵云</p>
                <p>张飞</p>
            </div>
        </li>
        <li><a href="#">老帅哥</a> </li>
        <li><a href="#">老阿姨</a> </li>
    </ul>
</body>
</html>